package com.bjut.dao;

import java.util.List;

import com.bjut.domain.Department;
import com.bjut.domain.Employee;

public interface DepartmentDao {
	public  void save(Department department); 
	public  Department get(int id);
	public  void delete(Department department);
	public  void delete(int id);
	public  void update(Department department);
	public  Department findDepartmentByName(String name);
	public  List<Department> findAllByPage(int pageNo , int pageSize);
	public  List<Department> findAll();
	public  long getCount();
}
